﻿using System.Collections.Generic;
//
namespace PerceptiveMCAPI.Types
{
   public partial class listWebhookAddInput : Api_BaseInput
   {
      public listWebhookAddParms parms { get; set; }

      public listWebhookAddInput()
      {
         this.parms = new listWebhookAddParms();
      }
      //
      public listWebhookAddInput( string id, string url )
      {
         this.parms = new listWebhookAddParms( id, url );
      }
      //
      public listWebhookAddInput( string id, string url,
         Dictionary<EnumValues.listWebhookActions, bool> actions,
         Dictionary<EnumValues.listWebhookSources, bool> sources )
      {
         this.parms = new listWebhookAddParms( id, url, actions, sources );
      }
      //
      public listWebhookAddInput( string apikey, string id, string url )
      {
         this.parms = new listWebhookAddParms( apikey, id, url );
      }
      //
      public listWebhookAddInput( string apikey, string id, string url,
         Dictionary<EnumValues.listWebhookActions, bool> actions,
         Dictionary<EnumValues.listWebhookSources, bool> sources )
      {
         this.parms = new listWebhookAddParms( apikey, id, url, actions, sources );
      }
      //
      public listWebhookAddInput( listWebhookAddParms parms )
      {
         if ( parms != null )
            this.parms = parms;
         else
            this.parms = new listWebhookAddParms();
      }
   }
}
